package com.todo.common.common.entity.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author zhangwenxiang
 * @date 2023/12/27 00:14
 * @description
 */
@Data
public class PageRequest {

    @Schema( description = "分页大小 默认20")
    private Integer pageSize = 20;

    @Schema( description = "当前页 默认第一页开始")
    private Integer pageIndex = 0;

    @Schema(title = "当前查询值")
    private Long currentIndex;

    @Schema(title = "排序字段")
    private String orderByColumn;

    @Schema(title = "排序的方向desc或者asc")
    private String isAsc;
}
